#-------------------------------------------------
#
# Project created by QtCreator 2016-10-11T11:23:36
#
#-------------------------------------------------

QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = Qote
TEMPLATE = app

QMAKE_CXXFLAGS += -std=c++11

SOURCES += main.cpp\
        app.cpp \
    sqlite/sqlite3.c \
    crypthelper.cpp \
    frisohelper.cpp \
    dbmodel.cpp

HEADERS  += app.h \
    sqlite/sqlite3.h \
    sqlite/sqlite3ext.h \
    crypthelper.h \
    frisohelper.h \
    exception.h \
    item.h \
    dbmodel.h

FORMS    += app.ui

win32: LIBS += -L$$PWD/crypto++/lib/ -lcryptopp

INCLUDEPATH += $$PWD/crypto++/include
INCLUDEPATH += $$PWD/sqlite
DEPENDPATH += $$PWD/crypto++/include

win32:!win32-g++: PRE_TARGETDEPS += $$PWD/crypto++/lib/cryptopp.lib
else:win32-g++: PRE_TARGETDEPS += $$PWD/crypto++/lib/libcryptopp.a

win32: LIBS += -L$$PWD/friso/lib/ -lfriso

INCLUDEPATH += $$PWD/friso/include
DEPENDPATH += $$PWD/friso/include

win32:!win32-g++: PRE_TARGETDEPS += $$PWD/friso/lib/friso.lib
else:win32-g++: PRE_TARGETDEPS += $$PWD/friso/lib/libfriso.a
